<template>
  <div class="computed-b">
    <h1>ComputedB</h1>
    <p>分数{{score}}</p>
  </div>
</template>

<script>
export default {
  name: "ComputedB",
  computed: {
    score() {
      return this.$store.getters.currentScore;
    }
  }
}
</script>

<style scoped>

</style>